Click the from the object pane toolbar. A Window will pop up and it allows you to create a procedure/function easily.
Type
Define whether it is a procedure/function.
Name
Specify the name for the procedure/function.
Parameters
Define the parameter(s) for the procedure/function. Set the parameter Name, Schema Type, Type, Default Value, etc under corresponding columns.